package com.zz.inventory.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 库存管理对象 smd_inventory
 * 
 * @author zz
 * @date 2025-06-26
 */
public class Inventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** sku */
    @Excel(name = "sku")
    private String sku;

    /** 数量 */
    @Excel(name = "数量")
    private Long quantity;

    /** 库存有否 */
    @Excel(name = "库存有否")
    private Long isInStock;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setSku(String sku) 
    {
        this.sku = sku;
    }

    public String getSku() 
    {
        return sku;
    }

    public void setQuantity(Long quantity) 
    {
        this.quantity = quantity;
    }

    public Long getQuantity() 
    {
        return quantity;
    }

    public void setIsInStock(Long isInStock) 
    {
        this.isInStock = isInStock;
    }

    public Long getIsInStock() 
    {
        return isInStock;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sku", getSku())
            .append("quantity", getQuantity())
            .append("isInStock", getIsInStock())
            .toString();
    }
}
